;(function(){var dfltPluginCfg={};var dfltGlobalCfg={"site":596068,"log":"","logSSL":"","domain":"ati-host.net","collectDomain":"logw363.ati-host.net","collectDomainSSL":"logws1363.ati-host.net","userIdOrigin":"server","secure":false,"pixelPath":"/hit.xiti","disableCookie":false,"disableStorage":false,"cookieSecure":false,"cookieDomain":"","preview":false,"plgs":["Campaigns","Clicks","ClientSideUserId","ContextVariables","Page","OnSiteAds"],"lazyLoadingPath":"","documentLevel":"document","redirect":false,"activateCallbacks":true,"medium":"","ignoreEmptyChapterValue":true,"base64Storage":false,"sendHitWhenOptOut":true};(function(a){a.ATInternet=a.ATInternet||{};a.ATInternet.Tracker=a.ATInternet.Tracker||{};a.ATInternet.Tracker.Plugins=a.ATInternet.Tracker.Plugins||{}})(window); var Utils=function(){function a(b){var g=typeof b;if("object"!==g||null===b)return"string"===g&&(b='"'+b+'"'),String(b);var c,d,n=[],q=b&&b.constructor===Array;for(c in b)b.hasOwnProperty(c)&&(d=b[c],g=typeof d,"function"!==g&&"undefined"!==g&&("string"===g?d='"'+d.replace(/[^\\]"/g,'\\"')+'"':"object"===g&&null!==d&&(d=a(d)),n.push((q?"":'"'+c+'":')+String(d))));return(q?"[":"{")+String(n)+(q?"]":"}")}function f(a){return null===a?"":(a+"").replace(k,"")}function l(a){var g,c=null;return(a=f(a+""))&& !f(a.replace(p,function(d,a,b,h){g&&a&&(c=0);if(0===c)return d;g=b||a;c+=!h-!b;return""}))?Function("return "+a)():null}var b=this,p=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,k=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");b.isLocalStorageAvailable=function(){try{var a=localStorage;a.setItem("__storage_test__","__storage_test__");a.removeItem("__storage_test__");return!0}catch(g){return!1}}; b.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){var g="",c,d,n,q,m,e,k=0;for(a=b.Base64._utf8_encode(a);k>2,c=(c&3)<<4|d>>4,m=(d&15)<<2|n>>6,e=n&63,isNaN(d)?m=e=64:isNaN(n)&&(e=64),g=g+this._keyStr.charAt(q)+this._keyStr.charAt(c)+this._keyStr.charAt(m)+this._keyStr.charAt(e);return g},decode:function(a){var g="",c,d,n,q,m,e=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");e< a.length;)c=this._keyStr.indexOf(a.charAt(e++)),d=this._keyStr.indexOf(a.charAt(e++)),q=this._keyStr.indexOf(a.charAt(e++)),m=this._keyStr.indexOf(a.charAt(e++)),c=c<<2|d>>4,d=(d&15)<<4|q>>2,n=(q&3)<<6|m,g+=String.fromCharCode(c),64!=q&&(g+=String.fromCharCode(d)),64!=m&&(g+=String.fromCharCode(n));return g=b.Base64._utf8_decode(g)},_utf8_encode:function(a){a=a.replace(/\r\n/g,"\n");for(var g="",c=0;cd?g+=String.fromCharCode(d):(127d?g+=String.fromCharCode(d>> 6|192):(g+=String.fromCharCode(d>>12|224),g+=String.fromCharCode(d>>6&63|128)),g+=String.fromCharCode(d&63|128))}return g},_utf8_decode:function(a){for(var g="",c=0,d,b,q;cd?(g+=String.fromCharCode(d),c++):191d?(b=a.charCodeAt(c+1),g+=String.fromCharCode((d&31)<<6|b&63),c+=2):(b=a.charCodeAt(c+1),q=a.charCodeAt(c+2),g+=String.fromCharCode((d&15)<<12|(b&63)<<6|q&63),c+=3);return g}};b.loadScript=function(a,g){var c;g=g||function(){};c=document.createElement("script"); c.type="text/javascript";c.src=a.url;c.async=!1;c.defer=!1;c.onload=c.onreadystatechange=function(a){a=a||window.event;if("load"===a.type||/loaded|complete/.test(c.readyState)&&(!document.documentMode||9>document.documentMode))c.onload=c.onreadystatechange=c.onerror=null,g(null,a)};c.onerror=function(a){c.onload=c.onreadystatechange=c.onerror=null;g({msg:"script not loaded",event:a})};var d=document.head||document.getElementsByTagName("head")[0];d.insertBefore(c,d.lastChild)};b.cloneSimpleObject= function(a,g){if("object"!==typeof a||null===a||a instanceof Date)return a;var c=new a.constructor,d;for(d in a)a.hasOwnProperty(d)&&(void 0===d||g&&void 0===a[d]||(c[d]=b.cloneSimpleObject(a[d])));return c};b.jsonSerialize=function(b){try{return"undefined"!==typeof JSON&&JSON.stringify?JSON.stringify(b):a(b)}catch(g){return null}};b.jsonParse=function(a){try{return"undefined"!==typeof JSON&&JSON.parse?JSON.parse(a+""):l(a)}catch(g){return null}};b.arrayIndexOf=function(a,g){return Array.indexOf? a.indexOf(g):function(c){if(null==this)throw new TypeError;var a=Object(this),g=a.length>>>0;if(0===g)return-1;var b=0;1=g)return-1;for(b=0<=b?b:Math.max(g-Math.abs(b),0);bc?"0"+c:String(c)};return c(b.getHours())+""+c(b.getMinutes())+""+c(b.getSeconds())+""+function(c){return Math.floor((9*Math.random()+1)*Math.pow(10,c-1))}(a-6)}}};b.getObjectKeys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b};b.completeFstLevelObj=function(a,b,c){if(a){if(b)for(var d in b)!b.hasOwnProperty(d)||a[d]&&!c||(a[d]=b[d])}else a=b;return a};b.isPreview= function(){return window.navigator&&"preview"===window.navigator.loadPurpose};b.isPrerender=function(a){var g,c=!1,d=["webkit","ms"];if("prerender"===document.visibilityState)g="visibilitychange";else for(var n=0;nl&&(n.str=n.str.substring(0,l-n.paramSize),n.strSize=n.str.length),w=u,t=n;else if(g[u]= n,g[u].paramSize+g[u].strSize>l&&!g[u].truncate){a.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:'Too long parameter: "'+g[u].param+'"',details:{value:g[u].str}});m=!0;e=u;break}w&&(g[w]=t);g=[g,m,e,x];c=g[0];m=g[1];q=g[3];m&&(g=g[2],c=c[g],c.str=c.str.substring(0,l-c.paramSize),c.strSize=c.str.length,m={},m.mherr=p("mherr","1",!1,!1,"",!1),m[g]=c,c=m);c=k(c,l);if(null===c[1])d=c[0];else for(d.push(c[0]);null!==c[1];)c=k(c[1],l),d.push(c[0]);return d},h="";a.buffer.presentInFilters(d,"hitType")|| (d=a.buffer.addInFilters(d,"hitType",["page"]));d=a.buffer.addInFilters(d,"hitType",["all"]);var s;if("object"===typeof g&&null!==g){d=a.buffer.addInFilters(d,"permanent",!0);d=a.buffer.get(d,!0);var r,f,x,t;for(s in g)if(g.hasOwnProperty(s)){h=g[s];r={};if(c&&"object"===typeof g[s]){x=f=!1;for(t in g[s])g[s].hasOwnProperty(t)&&("value"===t?f=!0:"options"===t&&"object"===typeof g[s].options&&null!==g[s].options&&(x=!0));f&&x&&(h=g[s].value,r=g[s].options)}d[s]={value:h,options:r}}h=m(d)}else for(s in d= a.buffer.get(d,!0),h=m(d),d)!d.hasOwnProperty(s)||d[s].options&&d[s].options.permanent||a.buffer.del(s);e&&e(h,q)},r=function(b,c){var d=a.getConfig("secure"),e="";if(b)e=b;else var e="https:"===document.location.protocol,q=(e=d||e)?a.getConfig("logSSL"):a.getConfig("log"),m=a.getConfig("domain"),e=q&&m?q+"."+m:e?a.getConfig("collectDomainSSL"):a.getConfig("collectDomain");q=a.getConfig("baseURL");m=(m=a.getConfig("pixelPath"))||"/";"/"!==m.charAt(0)&&(m="/"+m);var h=a.getConfig("site");if((q||e&& m)&&h){var k="//";d&&(k="https:"+k);c&&c(null,(q?q:k+e+m)+("?s="+h))}else c&&c({message:"Config error"})},h=function(a,c,d,b,q){r(b,function(b,n){b?q&&q(b):(l=1600-(n.length+27),e(a,c,d,function(c,a){var d=[],b=ATInternet.Utils.uuid().num(13);if(c instanceof Array)for(var g=1;g<=c.length;g++)d.push(n+a+"&mh="+g+"-"+c.length+"-"+b+c[g-1]);else d.push(n+a+c);q&&q(null,d)}))})};f.send=function(b,c,d,e,q){h(b,q,c,e,function(c,b){if(c)a.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:c.message,details:{}}), d&&d();else for(var g=0;gt-d||t-d>=a.getConfig("visitLifetime"));t=q||e||c;m&&t&&v("atredir",{path:"/",end:a.getConfig("redirectionLifetime")})&&(a.storage[l](["atredir","camp"],t),y=t=!1,q||(e?(t=p,y=k):(t=w,y=s)), a.storage[l](["atredir","gopc"],t),a.storage[l](["atredir","gopc_err"],y));!m&&h&&(x("xtor",h),t=(new Date).getTime()/36E5,t=Math.floor(t-g),x("roinbh",0<=t?t:0));m||(t=null,t=e?p?q||t:q||e:w?q:q||c||t,r&&r instanceof Array&&-1r.indexOf(z))&&v("atsession",{path:"/",session:60*a.getConfig("visitLifetime")}))a.storage[l](["atsession", "histo_camp"],r&&r.push(z)?r:[z]);h&&!f.lastPersistence||!v("atreman",{path:"/",session:86400*f.lifetime})||(a.storage[l](["atreman","camp"],z),a.storage[l](["atreman","date"],(new Date).getTime()/36E5))}a.emit("Campaigns:process:done",{lvl:"INFO"})})})()};window.ATInternet.Tracker.addPlugin("Campaigns"); }).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={"storageMode":"cookie"};ATInternet.Tracker.Plugins.Cookies=ATInternet.Tracker.Plugins.Storage=function(a){var f=this,l={},b=!1,p=null;a.configPlugin("Storage",dfltPluginCfg||{},function(a){l=a;"localStorage"===l.storageMode&&(b=ATInternet.Utils.isLocalStorageAvailable())});var k={},e=function(c){return a.getConfig("base64Storage")?ATInternet.Utils.Base64.encode(c):encodeURIComponent(c)},r=function(c){return a.getConfig("base64Storage")?ATInternet.Utils.Base64.decode(c):decodeURIComponent(c)},h=function(){this.getData=function(a){var c= null;(a=RegExp("(?:^| )"+a+"=([^;]+)").exec(document.cookie)||null)&&(c=r(a[1]));return c};this.setData=function(c){var b=!1;if(c.name&&"string"===typeof c.name){var d=c.options||{},g=d.end||{},f=d.domain||a.getConfig("cookieDomain"),h=d.secure||a.getConfig("cookieSecure"),k=ATInternet.Utils.jsonSerialize(c),k=c.name+"="+e(k),k=k+(d.path&&"string"===typeof d.path?";path="+d.path:""),k=k+(f&&"string"===typeof f?";domain="+f:"")+(h&&"boolean"===typeof h?";secure":"");"function"===typeof g.toUTCString? k+=";expires="+g.toUTCString():"number"===typeof g&&(k+=";max-age="+g.toString());document.cookie=k;this.getData(c.name)&&(b=!0)}return b}};p=b?new function(){var a=function(a){var c=+new Date,b=!1,d;a.options&&("undefined"!==typeof a.options.expires?d=a.options.expires:(a=a.options.end||{},"function"===typeof a.getTime?d=a.getTime():"number"===typeof a&&(d=c+1E3*a)));"number"===typeof d&&c>=d&&(b=!0);return{itemToDelete:b,timestamp:d}},c=function(a){var c=!1;try{localStorage.removeItem(a),c=!0}catch(b){}return c}; this.getData=function(b){var d=null,e=localStorage.getItem(b);if(e){var e=r(e),g=ATInternet.Utils.jsonParse(e);g&&"object"===typeof g?a(g).itemToDelete&&c(b)||(delete g.options.expires,d=ATInternet.Utils.jsonSerialize(g)):d=e}return d};this.setData=function(b){var d=!1;if(b.name&&"string"===typeof b.name){var g=a(b);"number"===typeof g.timestamp&&(b.options.expires=g.timestamp);var f=ATInternet.Utils.jsonSerialize(b);if(g.itemToDelete)d=c(b.name);else try{localStorage.setItem(b.name,e(f)),d=!0}catch(h){}}return d}}: new h;var g=function(c,b){var d=!1;!ATInternet.Utils.consent&&!b||a.getConfig("disableCookie")||a.getConfig("disableStorage")||!c||"object"!==typeof c||(d=p.setData(c));return d},c=function(a,c,b){a={name:a,val:c};b&&b.session&&"number"===typeof b.session&&(b.end=b.session);a.options=b||{};return a},d=function(c){var b=null,d=null;a.getConfig("disableCookie")||a.getConfig("disableStorage")||!c||"string"!==typeof c||(d=p.getData(c));(c=d)&&(b=ATInternet.Utils.jsonParse(c));return b},n=function(a,c){var b= ATInternet.Utils.cloneSimpleObject(a);return g(b,c)?ATInternet.Utils.jsonParse(ATInternet.Utils.jsonSerialize(a)):null},q=function(a,c,b){if(!b&&k[a])b=k[a];else if(b=d(a))b.options=b.options||{},b.options.session&&"number"===typeof b.options.session&&(b.options.end=b.options.session,n(b,!1)),k[a]=b;return b?c?(a=null,!b||"object"!==typeof b.val||b.val instanceof Array||void 0===b.val[c]||(a=b.val[c]),a):b.val:null},m=function(a,b,e,g,f){if(b){if(f=d(a))!f||"object"!==typeof f.val||f.val instanceof Array?f=null:"undefined"===typeof e?delete f.val[b]:f.val[b]=e,f&&(f=n(f,g))}else f=f||{},f=c(a,e,f),f=n(f,g);return f?(k[a]=f,f.val):null},w=function(a,b){if(b)m(a,b,void 0,!1,null);else{k[a]=void 0;var d=c(a,"",{end:new Date("Thu, 01 Jan 1970 00:00:00 UTC"),path:"/"});g(d,!1)}};a.storage={};a.storage.get=f.get=function(a,b){b=!!b;return a instanceof Array?q(a[0],a[1],b):q(a,"",b)};a.storage.getPrivate=f.getPrivate=function(b,c){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site"); return f.get(b,c)};a.storage.set=f.set=function(a,b,c,d){return a instanceof Array?m(a[0],a[1],b,d,null):m(a,null,b,d,c)};a.storage.setPrivate=f.setPrivate=function(b,c,d){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site");return f.set(b,c,d)};a.storage.del=f.del=function(a){a instanceof Array?w(a[0],a[1]):w(a,"")};a.storage.delPrivate=f.delPrivate=function(b){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site");f.del(b)};a.storage.cacheInvalidation=f.cacheInvalidation= function(){k={}}};ATInternet.Tracker.addPlugin("Storage");ATInternet.Tracker.addPlugin("Cookies"); }).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.Utils=function(a){var f=this,l={};a.utils={};a.utils.getQueryStringValue=f.getQueryStringValue=function(a,b){var f=ATInternet.Utils.hashcode(b).toString();if(!l[f]){l[f]={};var h=RegExp("[&#?]{1}([^&=#?]*)=([^&#]*)?","g"),g=h.exec(b);if(null!==g)for(;null!==g;)l[f][g[1]]=g[2],g=h.exec(b)}return l[f].hasOwnProperty(a)?l[f][a]:null};a.utils.manageChapters=f.manageChapters=function(b,e,f){var h=a.getConfig("ignoreEmptyChapterValue"),g="";if(b){f=parseInt(f,10);for(var c= 1;cb.indexOf("."))return window[b]||document;b=b.split(".");return window[b[0]][b[1]]||document}return document};a.utils.getLocation=f.getLocation=function(){return f.getDocumentLevel().location.href};a.utils.getHostName=f.getHostName=function(){return f.getDocumentLevel().location.hostname};a.utils.getCollectDomain= f.getCollectDomain=function(){var b="",b=a.getConfig("logSSL")||a.getConfig("log"),e=a.getConfig("domain");return b=b&&e?b+"."+e:a.getConfig("collectDomainSSL")||a.getConfig("collectDomain")};a.dispatchIndex={};a.dispatchStack=[];a.dispatchEventFor={};var b=0;a.dispatchSubscribe=function(b){return a.dispatchIndex[b]?!1:(a.dispatchStack.push(b),a.dispatchIndex[b]=!0)};a.dispatchSubscribed=function(b){return!0===a.dispatchIndex[b]};a.addSpecificDispatchEventFor=function(f){return a.dispatchEventFor[f]? !1:(a.dispatchEventFor[f]=!0,b++,!0)};a.processSpecificDispatchEventFor=function(f){a.dispatchEventFor[f]&&(a.dispatchEventFor[f]=!1,b--,0===b&&(a.dispatchEventFor={},a.emit("Tracker:Plugin:SpecificEvent:Exec:Complete",{lvl:"INFO"})))};a.dispatch=function(f){var e=function(){for(var b="",e=null;0]/g,"").substring(0,1600).replace(/&/g,"$"));return c};a.plugins.waitForDependencies(["Storage","Utils"],function(){p="set"+(e.domainAttribution?"":"Private");k="get"+(e.domainAttribution?"":"Private");var c=a.utils.getLocation();f=a.utils.getQueryStringValue("xtref",c);void 0===f&&(f="");b=a.getContext("forcedReferer");if(a.getConfig("redirect")){var c=a.utils.getDocumentLevel(),c=b?b:null!==f?f:c?c.referrer:"acc_dir",d;if(d= c){d={path:"/",end:a.getConfig("redirectionLifetime")};var n=r(k,["atredir"]);null!==n?d="object"===typeof n&&!(n instanceof Array):(r(p,["atredir",{},d]),d=!0)}d&&r(p,[["atredir","ref"],c])}else{l=r(k,[["atredir","ref"]]);r("del",[["atredir","ref"]]);a.setParam("vtag",a.version,{permanent:!0,hitType:["all"]});a.setParam("ptag","js",{permanent:!0,hitType:["all"]});c="";try{c+=window.screen.width+"x"+window.screen.height+"x"+window.screen.pixelDepth+"x"+window.screen.colorDepth}catch(q){}a.setParam("r", c,{permanent:!0,hitType:["all"]});c="";window.innerWidth?c+=window.innerWidth+"x"+window.innerHeight:document.body&&document.body.offsetWidth&&(c+=document.body.offsetWidth+"x"+document.body.offsetHeight);a.setParam("re",c,{permanent:!0,hitType:["all"]});h();window.navigator&&a.setParam("lng",window.navigator.language||window.navigator.userLanguage,{permanent:!0,hitType:["all"]});c=ATInternet.Utils.uuid().num(13);a.setParam("idp",c,{permanent:!0,hitType:["page","clickzone"]});window.navigator&&a.setParam("jv", window.navigator.javaEnabled()?"1":"0",{hitType:["page"]});c=a.utils.getDocumentLevel();a.setParam("ref",g(c),{permanent:!0,last:!0,hitType:["page","ecommerce"]})}a.emit("ContextVariables:Ready",{lvl:"INFO"})})};window.ATInternet.Tracker.addPlugin("ContextVariables"); }).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.Page=function(a){var f=["pageId","chapterLabel","update"],l=["pid","pchap","pidt"],b=["page","site"],p=["f","x"],k=function(c){return a.utils.manageChapters(c,"chapter",3)+(c.name?c.name:"")},e=function(a,c,b){c?a=c:a||"undefined"===typeof b||(a=b);return a},r=function(a,c,b){c.hasOwnProperty(b)&&(a[b]=e(a[b],c[b]))},h=function(c,d,e){if(d)for(var g=0;g